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


Performing analysis on: 4FGL_J0423.3-0120_daily_bin1445
RA = 65.826, Dec = -1.3342
tmin = 613872001, tmax = 614131201
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='410476', job_status='RUN', time_executed='2021-08-20 13:35:23.224937', time_epoch_executed='1629491723.22' WHERE source_name='4FGL J0423.3-0120' and cadence='daily' and bin_id='1445'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/410476

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/410476/ft1_4FGL_J0423.3-0120_daily_bin1445.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/410476/ft2_4FGL_J0423.3-0120_daily_bin1445.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/410476/ft1_4FGL_J0423.3-0120_daily_bin1445.fits outfile=/scratch/kocevski/410476/ft1_filteredMKT_4FGL_J0423.3-0120_daily_bin1445.fits ra=65.826 dec=-1.3342 rad=12.0 tmin=613872001.0 tmax=614131201.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 11.30
user 2.10
sys 9.14

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/410476/ft2_4FGL_J0423.3-0120_daily_bin1445.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/410476/ft2_4FGL_J0423.3-0120_daily_bin1445.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/410476/ft1_filteredMKT_4FGL_J0423.3-0120_daily_bin1445.fits evtable="EVENTS" outfile="/scratch/kocevski/410476/ft1_filtered_4FGL_J0423.3-0120_daily_bin1445.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 9.45
user 0.36
sys 9.04

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/410476/ft1_filtered_4FGL_J0423.3-0120_daily_bin1445.fits" evtable="EVENTS" scfile=/scratch/kocevski/410476/ft2_4FGL_J0423.3-0120_daily_bin1445.fits sctable="SC_DATA" outfile=/scratch/kocevski/410476/ltcube_613872001_614131201_4FGL_J0423.3-0120_daily_bin1445.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/410476/ft2_4FGL_J0423.3-0120_daily_bin1445.fits
.....................!
real 22.74
user 12.33
sys 10.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/410476/ft1_filtered_4FGL_J0423.3-0120_daily_bin1445.fits evtable="EVENTS" scfile=/scratch/kocevski/410476/ft2_4FGL_J0423.3-0120_daily_bin1445.fits sctable="SC_DATA" expcube=/scratch/kocevski/410476/ltcube_613872001_614131201_4FGL_J0423.3-0120_daily_bin1445.fits outfile=/scratch/kocevski/410476/expmap_613872001_614131201_4FGL_J0423.3-0120_daily_bin1445.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/410476/ltcube_613872001_614131201_4FGL_J0423.3-0120_daily_bin1445.fits
.....................!
real 202.57
user 185.39
sys 16.59

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

Setting source of interest to:
4FGL J0423.3-0120 @ 65.826 -1.3342

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/410476/ft1_filtered_4FGL_J0423.3-0120_daily_bin1445.fits scfile=/scratch/kocevski/410476/ft2_4FGL_J0423.3-0120_daily_bin1445.fits outfile=/scratch/kocevski/410476/cmap_613872001_614131201_4FGL_J0423.3-0120_daily_bin1445.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=65.826 yref=-1.3342 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 9.34
user 0.38
sys 8.88

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/410476/ft1_filtered_4FGL_J0423.3-0120_daily_bin1445.fits scfile=/scratch/kocevski/410476/ft2_4FGL_J0423.3-0120_daily_bin1445.fits outfile=/scratch/kocevski/410476/cmap_HighResolution_613872001_614131201_4FGL_J0423.3-0120_daily_bin1445.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=65.826 yref=-1.3342 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 9.29
user 0.38
sys 8.88

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/410476/ft1_filtered_4FGL_J0423.3-0120_daily_bin1445.fits evtable="EVENTS" scfile=/scratch/kocevski/410476/ft2_4FGL_J0423.3-0120_daily_bin1445.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/410476/Model_4FGL_J0423.3-0120_daily_bin1445.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/410476/ft1_filtered_4FGL_J0423.3-0120_daily_bin1445.fits.....................!
real 84.66
user 71.20
sys 12.77

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/410476/ft1_filtered_4FGL_J0423.3-0120_daily_bin1445.fits', '/scratch/kocevski/410476/ft2_4FGL_J0423.3-0120_daily_bin1445.fits', expMap='/scratch/kocevski/410476/expmap_613872001_614131201_4FGL_J0423.3-0120_daily_bin1445.fits', expCube='/scratch/kocevski/410476/ltcube_613872001_614131201_4FGL_J0423.3-0120_daily_bin1445.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/410476/Model_4FGL_J0423.3-0120_daily_bin1445.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0423.3-0120'

4FGL J0423.3-0120
   Spectrum: LogParabola
225         norm:  1.557e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
226        alpha:  2.237e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
227         beta:  8.826e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  5.995e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/410476/ft1_filtered_4FGL_J0423.3-0120_daily_bin1445.fits
Spacecraft file(s): /scratch/kocevski/410476/ft2_4FGL_J0423.3-0120_daily_bin1445.fits
Exposure map: /scratch/kocevski/410476/expmap_613872001_614131201_4FGL_J0423.3-0120_daily_bin1445.fits
Exposure cube: /scratch/kocevski/410476/ltcube_613872001_614131201_4FGL_J0423.3-0120_daily_bin1445.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/410476/Model_4FGL_J0423.3-0120_daily_bin1445.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) = 4619.98007758

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    39.351       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    4.6204       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .16774E-02   1.0000         .10000E-03   10000.    
     9 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .28901       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.7884       1.0000         .10000E-03   10000.    
    14 'Prefactor '    23.049       1.0000         .10000E-03   10000.    
    15 'norm      '    1.7873       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10347E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.5188       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .35818E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    5.6559       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .12632E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.4809       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .63588       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=   4619.972     FROM MIGRAD    STATUS=CONVERGED    547 CALLS     2617 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .89829        .53241E-07** at limit **
   2  Prefactor     .10000E-03    63.168       -.23087E-05** at limit **
   3  Prefactor     .10000E-03    14.441        .19311E-06** at limit **
   4  norm          39.343        25.401        .11391E-05   -.72161E-04
   5  Prefactor     .10000E-03    21.675        .10532E-05** at limit **
   6  norm          4.6101        7.3985       -.84671E-06   -.80064E-03
   7  Prefactor     .10000E-03    20.955       -.97692E-06** at limit **
   8  norm          .10093E-03    9.4683        .32297E-05** at limit **
   9  norm          .10000E-03    108.22       -.29604E-04** at limit **
  10  norm          .29193        2.4929        .14008E-05   -.35440E-03
  11  Prefactor     .10000E-03    1.0110        .21005E-06** at limit **
  12  Prefactor     .10000E-03    17.396        .10358E-06** at limit **
  13  Prefactor     1.5384        585.00       -.44248E-04   -.60907E-04
  14  Prefactor     23.033        14.687       -.10044E-05   -.75483E-03
  15  norm          1.7864        4.4504       -.56337E-06   -.62154E-03
  16  Prefactor     .10000E-03    44.582       -.22479E-05** at limit **
  17  norm          .10000E-03    .86896        .10029E-06** at limit **
  18  Prefactor     9.5247        18.402        .19691E-06   -.16848E-03
  19  Prefactor     .10001E-03    451.98        .67209E-04** at limit **
  20  norm          5.6563        2.7108        .72473E-08   -.53128E-03
  21  Prefactor     .10000E-03    113.96        .28260E-04** at limit **
  22  Normalizat    1.4809        .24953       -.45455E-06   -.57258E-03
  23  Prefactor     .63585        .10683        .25324E-06   -.62172E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 39.3426
  Prefactor  = 0.0001
  norm       = 4.61014
  Prefactor  = 0.0001
  norm       = 0.000100932
  norm       = 0.000100002
  norm       = 0.29193
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.53836
  Prefactor  = 23.033
  norm       = 1.78642
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.52474
  Prefactor  = 0.000100009
  norm       = 5.65634
  Prefactor  = 0.000100003
  Normalizat = 1.48088
  Prefactor  = 0.635855
 **********
 **   18 **HESSE 
 **********

 FCN=   4619.972     FROM HESSE     STATUS=OK           364 CALLS     2981 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.4429        .12509E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    63.226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    14.457        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          39.343        25.405        .63896E-04   -1.4453    
   5  Prefactor     .10000E-03    21.690        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.6101        7.1132        .18725E-03   -1.5279    
   7  Prefactor     .10000E-03    20.966        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10093E-03    69.590        .37719E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    106.90        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .29193        2.6415        .13214E-02   -1.5600    
  11  Prefactor     .10000E-03    1.0256        .66545E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    17.409        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.5384        458.23        .31281E-03   -1.5460    
  14  Prefactor     23.033        14.446        .83433E-04   -1.4748    
  15  norm          1.7864        4.4168        .20749E-03   -1.5441    
  16  Prefactor     .10000E-03    44.583        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .88087        .61865E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.5247        18.226        .12989E-03   -1.5091    
  19  Prefactor     .10001E-03    451.50        .42627E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          5.6563        2.7083        .74407E-04   -1.5232    
  21  Prefactor     .10000E-03    115.45        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.4809        .27853        .28871E-03   -.78317    
  23  Prefactor     .63585        .12092        .18493E-03   -1.0610    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49882e-08
Minuit parameter uncertainties:
  1  3.01229e-06
  2  1.19113e-05
  3  4.28059e-06
  4  25.4119
  5  2.60807e-05
  6  7.11449
  7  9.1376e-06
  8  0.016129
  9  0.000996199
  10  1.7561
  11  1.958e-05
  12  3.80812e-05
  13  53.5174
  14  14.4483
  15  4.41764
  16  3.18532e-06
  17  3.79926e-06
  18  18.2368
  19  0.00413824
  20  2.7084
  21  0.00110918
  22  0.278817
  23  0.120973
Done.

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

Extracting fit parameters...

4FGL J0423.3-0120
   Spectrum: LogParabola
225         norm:  2.919e-01  1.756e+00  1.000e-04  1.000e+04 ( 1.000e-11)
226        alpha:  2.237e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
227         beta:  8.826e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  5.995e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
461    Prefactor:  6.359e-01  1.210e-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.481e+00  2.788e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.05
Ra Dec: 65.826 -1.334
Photon Flux Upper Limit: 1.46e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.43e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/410476/likelihoodResults_613872001_614131201_4FGL_J0423.3-0120_daily_bin1445.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): 0
logL (Free Index) = 4619.95893809
delta logL = 0.0128947120893

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4619.95776081
delta logL = 0.0140719914461

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .32740       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7500       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4843       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63441       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=   4619.958     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      208 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .32955        2.2876        .10545E-01    .13478E-02
   2  alpha         1.7535        1.7579        .43778       -.32127E-04
   3  Normalizat    1.4845        .23684        .65208E-01   -.45596E-04
   4  Prefactor     .63433        .10571        .41521E-01    .26277E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.329547
  alpha      = 1.75352
  Normalizat = 1.48453
  Prefactor  = 0.634326
 **********
 **   18 **HESSE 
 **********

 FCN=   4619.958     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .32955        1.2829        .14108E-03   -1.5593    
   2  alpha         1.7535        1.9122        .39357E-01   -.30322    
   3  Normalizat    1.4845        .26669        .28842E-03   -.78214    
   4  Prefactor     .63433        .11806        .18512E-03   -1.0616    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30226e-10
Minuit parameter uncertainties:
  1  1.28305
  2  2.21826
  3  0.26694
  4  0.118108
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/410476': 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) = 4619.95775829
delta logL = 0.0140745113895

Extracting fit parameters...

4FGL J0423.3-0120
   Spectrum: LogParabola
225         norm:  3.295e-01  1.283e+00  1.000e-04  1.000e+04 ( 1.000e-11)
226        alpha:  1.754e+00  2.218e+00  0.000e+00  5.000e+00 ( 1.000e+00)
227         beta:  8.826e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  5.995e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
461    Prefactor:  6.343e-01  1.181e-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.485e+00  2.669e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
Ra Dec: 65.826 -1.334

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/410476/cmap_HighResolution_613872001_614131201_4FGL_J0423.3-0120_daily_bin1445.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.43e-05', job_status='DONE', photon_flux_upper_limit='1.46e-07', time_completed='2021-08-20 13:46:23.365191', job_id='410476', GAL2='0.63', fit_tolerance='1e-08', EG2='1.48', EG='1.48', time_epoch_completed='1629492383.37', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='0.64', dlogl='1.41e-02', ts2='0.08', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1445' AND source_name='4FGL J0423.3-0120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 13:46:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 410476: <4FGL_J0423.3-0120_daily_bin1445> in cluster <slac> Done

Job <4FGL_J0423.3-0120_daily_bin1445> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Aug 20 13:30:24 2021
Job was executed on host(s) <bullet0258>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 13:30:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 20 13:30:26 2021
Terminated at Fri Aug 20 13:46:25 2021
Results reported at Fri Aug 20 13:46:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0423.3-0120_daily_bin1445 65.826 -1.3342 613872001 614131201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0423.3-0120 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   798.48 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             259.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   958 sec.
    Turnaround time :                            961 sec.

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

