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


Performing analysis on: 4FGL_J0433.0+0522_daily_bin538
RA = 68.2618, Dec = 5.3696
tmin = 378777601, tmax = 379036801
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='527115', job_status='RUN', time_executed='2021-08-20 19:37:44.331258', time_epoch_executed='1629513464.33' WHERE source_name='4FGL J0433.0+0522' and cadence='daily' and bin_id='538'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/527115

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/527115/ft1_4FGL_J0433.0+0522_daily_bin538.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/527115/ft2_4FGL_J0433.0+0522_daily_bin538.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/527115/ft1_4FGL_J0433.0+0522_daily_bin538.fits outfile=/scratch/kocevski/527115/ft1_filteredMKT_4FGL_J0433.0+0522_daily_bin538.fits ra=68.2618 dec=5.3696 rad=12.0 tmin=378777601.0 tmax=379036801.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.46
user 4.27
sys 0.49

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/527115/ft2_4FGL_J0433.0+0522_daily_bin538.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/527115/ft2_4FGL_J0433.0+0522_daily_bin538.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/527115/ft1_filteredMKT_4FGL_J0433.0+0522_daily_bin538.fits evtable="EVENTS" outfile="/scratch/kocevski/527115/ft1_filtered_4FGL_J0433.0+0522_daily_bin538.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.98
user 0.32
sys 0.42

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/527115/ft1_filtered_4FGL_J0433.0+0522_daily_bin538.fits" evtable="EVENTS" scfile=/scratch/kocevski/527115/ft2_4FGL_J0433.0+0522_daily_bin538.fits sctable="SC_DATA" outfile=/scratch/kocevski/527115/ltcube_378777601_379036801_4FGL_J0433.0+0522_daily_bin538.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/527115/ft2_4FGL_J0433.0+0522_daily_bin538.fits
.....................!
real 13.75
user 12.97
sys 0.68

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/527115/ft1_filtered_4FGL_J0433.0+0522_daily_bin538.fits evtable="EVENTS" scfile=/scratch/kocevski/527115/ft2_4FGL_J0433.0+0522_daily_bin538.fits sctable="SC_DATA" expcube=/scratch/kocevski/527115/ltcube_378777601_379036801_4FGL_J0433.0+0522_daily_bin538.fits outfile=/scratch/kocevski/527115/expmap_378777601_379036801_4FGL_J0433.0+0522_daily_bin538.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/527115/ltcube_378777601_379036801_4FGL_J0433.0+0522_daily_bin538.fits
.....................!
real 192.28
user 186.96
sys 4.82

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

Setting source of interest to:
4FGL J0433.0+0522 @ 68.2618 5.3696

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/527115/ft1_filtered_4FGL_J0433.0+0522_daily_bin538.fits scfile=/scratch/kocevski/527115/ft2_4FGL_J0433.0+0522_daily_bin538.fits outfile=/scratch/kocevski/527115/cmap_378777601_379036801_4FGL_J0433.0+0522_daily_bin538.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=68.2618 yref=5.3696 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.82
user 0.38
sys 0.42

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/527115/ft1_filtered_4FGL_J0433.0+0522_daily_bin538.fits scfile=/scratch/kocevski/527115/ft2_4FGL_J0433.0+0522_daily_bin538.fits outfile=/scratch/kocevski/527115/cmap_HighResolution_378777601_379036801_4FGL_J0433.0+0522_daily_bin538.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=68.2618 yref=5.3696 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.83
user 0.39
sys 0.42

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/527115/ft1_filtered_4FGL_J0433.0+0522_daily_bin538.fits evtable="EVENTS" scfile=/scratch/kocevski/527115/ft2_4FGL_J0433.0+0522_daily_bin538.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/527115/Model_4FGL_J0433.0+0522_daily_bin538.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/527115/ft1_filtered_4FGL_J0433.0+0522_daily_bin538.fits.....................!
real 137.17
user 135.01
sys 1.75

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/527115/ft1_filtered_4FGL_J0433.0+0522_daily_bin538.fits', '/scratch/kocevski/527115/ft2_4FGL_J0433.0+0522_daily_bin538.fits', expMap='/scratch/kocevski/527115/expmap_378777601_379036801_4FGL_J0433.0+0522_daily_bin538.fits', expCube='/scratch/kocevski/527115/ltcube_378777601_379036801_4FGL_J0433.0+0522_daily_bin538.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/527115/Model_4FGL_J0433.0+0522_daily_bin538.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0433.0+0522'

4FGL J0433.0+0522
   Spectrum: LogParabola
184         norm:  1.780e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
185        alpha:  2.556e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
186         beta:  2.655e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
187           Eb:  4.245e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/527115/ft1_filtered_4FGL_J0433.0+0522_daily_bin538.fits
Spacecraft file(s): /scratch/kocevski/527115/ft2_4FGL_J0433.0+0522_daily_bin538.fits
Exposure map: /scratch/kocevski/527115/expmap_378777601_379036801_4FGL_J0433.0+0522_daily_bin538.fits
Exposure cube: /scratch/kocevski/527115/ltcube_378777601_379036801_4FGL_J0433.0+0522_daily_bin538.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/527115/Model_4FGL_J0433.0+0522_daily_bin538.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) = 9681.37058894

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10230E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .24405E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .39323E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .85145       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10324E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    64.631       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.653       1.0000         .10000E-03   10000.    
    13 'Prefactor '    22.392       1.0000         .10000E-03   10000.    
    14 'norm      '    5.6565       1.0000         .10000E-03   10000.    
    15 'Prefactor '    75.804       1.0000         .10000E-03   10000.    
    16 'norm      '    1.0264       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.9518       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    2.4450       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .33477       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    1.5618       1.0000         .10000E-03   10000.    
    24 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .85611       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0547       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4470E+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=   9681.340     FROM MIGRAD    STATUS=CONVERGED   1198 CALLS     3928 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    26.337        .18142E-02** at limit **
   2  Prefactor     .10000E-03    8.4223        .18142E-02** at limit **
   3  norm          .10000E-03    27.077        .18142E-02** at limit **
   4  Prefactor     .10000E-03    14.586        .18142E-02** at limit **
   5  norm          .10002E-03    2.4503        .54633E-01** at limit **
   6  Prefactor     .10000E-03    20.287        .18142E-02** at limit **
   7  norm          .10000E-03    18.891        .18142E-02** at limit **
   8  norm          .10000E-03    8.3948        .12967E-02** at limit **
   9  Prefactor     .85545        2.1879        .20169E-03    .20686E-03
  10  Prefactor     .10000E-03    37.299        .18142E-02** at limit **
  11  Prefactor     64.532        55.632        .49918E-04   -.49740E-04
  12  Prefactor     14.648        12.267        .10463E-03   -.11887E-03
  13  Prefactor     22.390        14.211        .84647E-04    .42978E-05
  14  norm          5.6599        2.9943        .11777E-03    .14481E-04
  15  Prefactor     75.807        52.028        .46118E-04    .38456E-05
  16  norm          1.0287        2.7731        .24359E-03   -.24083E-04
  17  Prefactor     .10000E-03    6.2912        .18142E-02** at limit **
  18  norm          1.9523        1.7395        .11776E-03   -.32631E-04
  19  Prefactor     .10000E-03    15.935        .18142E-02** at limit **
  20  norm          2.4449        2.1410        .12879E-03    .18538E-04
  21  Prefactor     .26455        27.312        .12600        .60612E-04
  22  Prefactor     .10000E-03    9.2535        .18142E-02** at limit **
  23  norm          1.5629        .74220        .51482E-04   -.86874E-03
  24  norm          .10000E-03    1.7472        .12641E-02** at limit **
  25  Prefactor     .10000E-03    3.3282        .23441E-02** at limit **
  26  Normalizat    .85600        .29549        .52380E-03   -.10505E-03
  27  Prefactor     1.0547        .84294E-01    .15020E-03   -.37537E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100019
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.855451
  Prefactor  = 0.0001
  Prefactor  = 64.5322
  Prefactor  = 14.6482
  Prefactor  = 22.3902
  norm       = 5.65993
  Prefactor  = 75.8073
  norm       = 1.02872
  Prefactor  = 0.0001
  norm       = 1.95226
  Prefactor  = 0.0001
  norm       = 2.4449
  Prefactor  = 0.264554
  Prefactor  = 0.0001
  norm       = 1.56291
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.855999
  Prefactor  = 1.05475
 **********
 **   18 **HESSE 
 **********

 FCN=   9681.340     FROM HESSE     STATUS=OK           480 CALLS     4408 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    26.338        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.4234        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    27.097        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    14.586        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10002E-03    2.4466        .54698E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    20.295        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    18.893        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    8.7281        .51869E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .85545        2.1849        .80678E-05   -1.5523    
  10  Prefactor     .10000E-03    37.311        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     64.532        55.559        .99837E-05   -1.4100    
  12  Prefactor     14.648        12.263        .41854E-05   -1.4942    
  13  Prefactor     22.390        14.210        .33859E-05   -1.4761    
  14  norm          5.6599        2.9940        .47106E-05   -1.5232    
  15  Prefactor     75.807        52.030        .92237E-05   -1.3964    
  16  norm          1.0287        2.7712        .97434E-05   -1.5505    
  17  Prefactor     .10000E-03    6.2957        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.9523        1.7394        .47104E-05   -1.5429    
  19  Prefactor     .10000E-03    15.937        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.4449        2.1409        .51515E-05   -1.5395    
  21  Prefactor     .26455        26.267        .12928       -1.5605    
  22  Prefactor     .10000E-03    9.2603        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          1.5629        .74128        .20593E-05   -1.5458    
  24  norm          .10000E-03    1.7473        .25282E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    3.3465        .46881E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .85600        .29541        .20952E-04   -.98024    
  27  Prefactor     1.0547        .84307E-01    .30039E-04   -.90926    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.64834e-10
Minuit parameter uncertainties:
  1  1.22585e-05
  2  1.103e-06
  3  7.72691e-05
  4  5.44667e-05
  5  0.000430161
  6  9.17368e-05
  7  2.27521e-05
  8  3.66921e-05
  9  2.18511
  10  0.000203143
  11  55.6042
  12  12.2656
  13  14.2123
  14  2.99404
  15  52.0614
  16  2.77159
  17  4.3774e-06
  18  1.73949
  19  9.47719e-05
  20  2.14097
  21  5.27358
  22  7.32697e-07
  23  0.741284
  24  4.32482e-07
  25  1.69663e-05
  26  0.295973
  27  0.084318
Done.

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

Extracting fit parameters...

4FGL J0433.0+0522
   Spectrum: LogParabola
184         norm:  5.660e+00  2.994e+00  1.000e-04  1.000e+04 ( 1.000e-11)
185        alpha:  2.556e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
186         beta:  2.655e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
187           Eb:  4.245e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
444    Prefactor:  1.055e+00  8.432e-02  0.000e+00  1.000e+01 ( 1.000e+00)
445        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
446        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
443   Normalization:  8.560e-01  2.960e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.54
Ra Dec: 68.262 5.370
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 1.13e-07 +/- 5.97e-08
Energy Flux (Fixed Index): 2.88e-05 +/- 1.53e-05

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) = 9681.16571
delta logL = 0.173827836521

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9681.16167243
delta logL = 0.177865406356

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.0391       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9599       1.0000          .0000       5.0000    
     3 'Normalizat'    .82807       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0599       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4470E+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=   9681.162     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      272 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.0392        3.1196        .10366E-03   -.79622E-03
   2  alpha         2.9596        .71379        .20021E-01   -.53680E-04
   3  Normalizat    .82814        .25959        .53155E-03    .11190E-03
   4  Prefactor     1.0598        .81007E-01    .14986E-03    .53156E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.0392
  alpha      = 2.95959
  Normalizat = 0.828141
  Prefactor  = 1.05985
 **********
 **   18 **HESSE 
 **********

 FCN=   9681.162     FROM HESSE     STATUS=OK            25 CALLS      297 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.0392        2.9983        .41464E-05   -1.5259    
   2  alpha         2.9596        .68624        .80084E-03    .18489    
   3  Normalizat    .82814        .25955        .21262E-04   -.99033    
   4  Prefactor     1.0598        .80978E-01    .29971E-04   -.90760    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.06257e-10
Minuit parameter uncertainties:
  1  2.99841
  2  0.695485
  3  0.259943
  4  0.0809869
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/527115': 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) = 9681.16167218
delta logL = 0.177865658154

Extracting fit parameters...

4FGL J0433.0+0522
   Spectrum: LogParabola
184         norm:  5.039e+00  2.998e+00  1.000e-04  1.000e+04 ( 1.000e-11)
185        alpha:  2.960e+00  6.955e-01  0.000e+00  5.000e+00 ( 1.000e+00)
186         beta:  2.655e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
187           Eb:  4.245e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
444    Prefactor:  1.060e+00  8.099e-02  0.000e+00  1.000e+01 ( 1.000e+00)
445        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
446        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
443   Normalization:  8.281e-01  2.599e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.96
Ra Dec: 68.262 5.370
Photon Index (Free Index): 2.96 +/- 0.70
Photon Flux (Free Index): 1.40e-07 +/- 7.87e-08
Energy Flux (Free Index): 2.95e-05 +/- 1.45e-05

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/527115/cmap_HighResolution_378777601_379036801_4FGL_J0433.0+0522_daily_bin538.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.13e-07', energy_flux2='2.95e-05', photon_flux_error='5.97e-08', dlogl='1.78e-01', energy_flux='2.88e-05', photon_flux2='1.40e-07', job_status='DONE', time_completed='2021-08-20 19:51:56.214296', photon_index_error2='0.70', photon_index2='2.96', ts='6.54', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='1.45e-05', EG='0.86', time_epoch_completed='1629514316.21', return_code='0', job_id='527115', GAL2='1.06', EG2='0.83', return_code2='0', energy_flux_error='1.53e-05', photon_flux_error2='7.87e-08', ts2='6.96', photon_index='2.56' WHERE bin_id='538' AND source_name='4FGL J0433.0+0522' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 19:51:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0109>
Subject: Job 527115: <4FGL_J0433.0+0522_daily_bin538> in cluster <slac> Done

Job <4FGL_J0433.0+0522_daily_bin538> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Aug 20 19:35:23 2021
Job was executed on host(s) <bullet0109>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 19:35:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 20 19:35:24 2021
Terminated at Fri Aug 20 19:51:58 2021
Results reported at Fri Aug 20 19:51:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0433.0+0522_daily_bin538 68.2618 5.3696 378777601 379036801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0433.0+0522 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   847.30 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             331.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   992 sec.
    Turnaround time :                            995 sec.

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

