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


Performing analysis on: 4FGL_J0433.6+2905_monthly_bin147
RA = 68.4107, Dec = 29.0975
tmin = 618019201, tmax = 620611201
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='972169', job_status='RUN', time_executed='2021-10-13 06:41:57.308554', time_epoch_executed='1634132517.31' WHERE source_name='4FGL J0433.6+2905' and cadence='monthly' and bin_id='147'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/972169

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

Retrieving the FT1 file...

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

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

Retrieving 458 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/972169/ft1_4FGL_J0433.6+2905_monthly_bin147.fits


Retrieving the FT1 file...

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

Retrieving 458 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/972169/ft2_4FGL_J0433.6+2905_monthly_bin147.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/972169/ft1_4FGL_J0433.6+2905_monthly_bin147.fits outfile=/scratch/kocevski/972169/ft1_filteredMKT_4FGL_J0433.6+2905_monthly_bin147.fits ra=68.4107 dec=29.0975 rad=12.0 tmin=618019201.0 tmax=620611201.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 34.10
user 33.26
sys 0.76

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/972169/ft2_4FGL_J0433.6+2905_monthly_bin147.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/972169/ft2_4FGL_J0433.6+2905_monthly_bin147.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/972169/ft1_filteredMKT_4FGL_J0433.6+2905_monthly_bin147.fits evtable="EVENTS" outfile="/scratch/kocevski/972169/ft1_filtered_4FGL_J0433.6+2905_monthly_bin147.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.85
user 0.63
sys 0.21

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/972169/ft1_filtered_4FGL_J0433.6+2905_monthly_bin147.fits" evtable="EVENTS" scfile=/scratch/kocevski/972169/ft2_4FGL_J0433.6+2905_monthly_bin147.fits sctable="SC_DATA" outfile=/scratch/kocevski/972169/ltcube_618019201_620611201_4FGL_J0433.6+2905_monthly_bin147.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/972169/ft2_4FGL_J0433.6+2905_monthly_bin147.fits
.....................!
real 112.14
user 111.62
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/972169/ft1_filtered_4FGL_J0433.6+2905_monthly_bin147.fits evtable="EVENTS" scfile=/scratch/kocevski/972169/ft2_4FGL_J0433.6+2905_monthly_bin147.fits sctable="SC_DATA" expcube=/scratch/kocevski/972169/ltcube_618019201_620611201_4FGL_J0433.6+2905_monthly_bin147.fits outfile=/scratch/kocevski/972169/expmap_618019201_620611201_4FGL_J0433.6+2905_monthly_bin147.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/972169/ltcube_618019201_620611201_4FGL_J0433.6+2905_monthly_bin147.fits
.....................!
real 193.32
user 187.86
sys 5.09

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
Extended source S 147 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/S147.fits is the correct path to the extended template.
Extended source HB 9 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/HB9.fits is the correct path to the extended template.
Added 151 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0433.6+2905 @ 68.4107 29.0975

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/972169/ft1_filtered_4FGL_J0433.6+2905_monthly_bin147.fits scfile=/scratch/kocevski/972169/ft2_4FGL_J0433.6+2905_monthly_bin147.fits outfile=/scratch/kocevski/972169/cmap_618019201_620611201_4FGL_J0433.6+2905_monthly_bin147.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.4107 yref=29.0975 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.81
user 0.64
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/972169/ft1_filtered_4FGL_J0433.6+2905_monthly_bin147.fits scfile=/scratch/kocevski/972169/ft2_4FGL_J0433.6+2905_monthly_bin147.fits outfile=/scratch/kocevski/972169/cmap_HighResolution_618019201_620611201_4FGL_J0433.6+2905_monthly_bin147.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.4107 yref=29.0975 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.81
user 0.64
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/972169/ft1_filtered_4FGL_J0433.6+2905_monthly_bin147.fits evtable="EVENTS" scfile=/scratch/kocevski/972169/ft2_4FGL_J0433.6+2905_monthly_bin147.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/972169/Model_4FGL_J0433.6+2905_monthly_bin147.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
adding source HB 9
adding source S 147
Working on...
/scratch/kocevski/972169/ft1_filtered_4FGL_J0433.6+2905_monthly_bin147.fits.....................!
real 5946.02
user 5930.45
sys 3.44

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/972169/ft1_filtered_4FGL_J0433.6+2905_monthly_bin147.fits', '/scratch/kocevski/972169/ft2_4FGL_J0433.6+2905_monthly_bin147.fits', expMap='/scratch/kocevski/972169/expmap_618019201_620611201_4FGL_J0433.6+2905_monthly_bin147.fits', expCube='/scratch/kocevski/972169/ltcube_618019201_620611201_4FGL_J0433.6+2905_monthly_bin147.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/972169/Model_4FGL_J0433.6+2905_monthly_bin147.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0433.6+2905'

4FGL J0433.6+2905
   Spectrum: LogParabola
255         norm:  9.037e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
256        alpha:  1.981e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
257         beta:  8.931e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
258           Eb:  1.898e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/972169/ft1_filtered_4FGL_J0433.6+2905_monthly_bin147.fits
Spacecraft file(s): /scratch/kocevski/972169/ft2_4FGL_J0433.6+2905_monthly_bin147.fits
Exposure map: /scratch/kocevski/972169/expmap_618019201_620611201_4FGL_J0433.6+2905_monthly_bin147.fits
Exposure cube: /scratch/kocevski/972169/ltcube_618019201_620611201_4FGL_J0433.6+2905_monthly_bin147.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/972169/Model_4FGL_J0433.6+2905_monthly_bin147.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) = 225825.065599

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .52241       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.6460       1.0000         .10000E-03   10000.    
     3 'norm      '    .19016E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    9.7874       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.2089       1.0000         .10000E-03   10000.    
     7 'norm      '    7.2996       1.0000         .10000E-03   10000.    
     8 'norm      '    6.5467       1.0000         .10000E-03   10000.    
     9 'norm      '    1.9560       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.523       1.0000         .10000E-03   10000.    
    11 'Normalizat'    1.3841       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .96290       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   225824.3     FROM MIGRAD    STATUS=CONVERGED    230 CALLS      912 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .52007        2.3849         .0000        .26882E-02
   2  Prefactor     1.6451        3.8973         .0000        .34928E-01
   3  norm          .63268E-02    .87933E-01     .0000        .21708E-02
   4  Prefactor     .10000E-03    5.9704         .0000    ** at limit **
   5  norm          9.7877        3.3195         .0000       -.13598E-02
   6  Prefactor     1.2091        1.1377         .0000        .14880E-03
   7  norm          7.2995        10.691         .0000       -.21067E-02
   8  norm          6.5470        6.8339         .0000       -.19211E-02
   9  norm          1.9561        .97818         .0000        .12147E-01
  10  Prefactor     10.524        6.9715         .0000       -.11875E-02
  11  Normalizat    1.3841        .84381E-01     .0000        .70607E-03
  12  Prefactor     .96289        .12739E-01     .0000       -.28926E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.52007
  Prefactor  = 1.64514
  norm       = 0.00632681
  Prefactor  = 0.0001
  norm       = 9.7877
  Prefactor  = 1.20914
  norm       = 7.29948
  norm       = 6.54703
  norm       = 1.95613
  Prefactor  = 10.5235
  Normalizat = 1.3841
  Prefactor  = 0.962889
 **********
 **   18 **HESSE 
 **********

 FCN=   225824.3     FROM HESSE     STATUS=OK           151 CALLS     1063 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .52007        2.2929        .25324       -1.5564    
   2  Prefactor     1.6451        3.8705        .16460E-02   -1.5451    
   3  norm          .63268E-02    .19045        .45700E-01   -1.5692    
   4  Prefactor     .10000E-03    6.1889        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          9.7877        3.3200        .12809E-03   -1.5082    
   6  Prefactor     1.2091        1.1378        .41172E-04   -1.5488    
   7  norm          7.2995        10.682        .14846E-03   -1.5168    
   8  norm          6.5470        6.8282        .15685E-03   -1.5196    
   9  norm          1.9561        .97678        .29666E-03   -1.5428    
  10  Prefactor     10.524        6.9745        .12351E-03   -1.5059    
  11  Normalizat    1.3841        .89106E-01    .71015E-03   -.81090    
  12  Prefactor     .96289        .13625E-01    .12527E-03   -.93977    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.82655e-08
Minuit parameter uncertainties:
  1  2.18394
  2  3.87107
  3  0.0688733
  4  3.06678e-05
  5  3.32005
  6  1.13783
  7  10.6853
  8  6.82901
  9  0.976789
  10  6.975
  11  0.0891161
  12  0.0136249
Done.

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

Extracting fit parameters...

4FGL J0433.6+2905
   Spectrum: LogParabola
255         norm:  9.788e+00  3.320e+00  1.000e-04  1.000e+04 ( 1.000e-13)
256        alpha:  1.981e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
257         beta:  8.931e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
258           Eb:  1.898e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
506    Prefactor:  9.629e-01  1.362e-02  0.000e+00  1.000e+01 ( 1.000e+00)
507        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
508        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
505   Normalization:  1.384e+00  8.912e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 25.64
Ra Dec: 68.411 29.098
Photon Index (Fixed Index): 1.98 +/- 0.00
Photon Flux (Fixed Index): 2.29e-08 +/- 7.78e-09
Energy Flux (Fixed Index): 1.78e-05 +/- 6.03e-06

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) = 225823.566615
delta logL = 0.767709882581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 225823.527034
delta logL = 0.807290869125

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.6892       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5486       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3875       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96363       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   225823.5     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      241 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.6905        3.1674       -.31071E-07    .54761E-03
   2  alpha         1.5488        .58371E-01    .33178E-06    .50726E-04
   3  Normalizat    1.3875        .81014E-01   -.13765E-07    .26182E-04
   4  Prefactor     .96363        .12476E-01    .10378E-08   -.13884E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.69049
  alpha      = 1.54877
  Normalizat = 1.38746
  Prefactor  = 0.963632
 **********
 **   18 **HESSE 
 **********

 FCN=   225823.5     FROM HESSE     STATUS=OK            33 CALLS      274 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.6905        3.6803        .13598E-03   -1.5118    
   2  alpha         1.5488        .32428        .44921E-01   -.39033    
   3  Normalizat    1.3875        .87692E-01    .70947E-03   -.80992    
   4  Prefactor     .96363        .13371E-01    .12523E-03   -.93952    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.82747e-07
Minuit parameter uncertainties:
  1  3.68044
  2  0.32535
  3  0.0877011
  4  0.0133706
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/972169': 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) = 225823.527034
delta logL = 0.807291040255

Extracting fit parameters...

4FGL J0433.6+2905
   Spectrum: LogParabola
255         norm:  8.690e+00  3.680e+00  1.000e-04  1.000e+04 ( 1.000e-13)
256        alpha:  1.549e+00  3.254e-01  0.000e+00  5.000e+00 ( 1.000e+00)
257         beta:  8.931e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
258           Eb:  1.898e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
506    Prefactor:  9.636e-01  1.337e-02  0.000e+00  1.000e+01 ( 1.000e+00)
507        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
508        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
505   Normalization:  1.387e+00  8.770e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 27.26
Ra Dec: 68.411 29.098
Photon Index (Free Index): 1.55 +/- 0.33
Photon Flux (Free Index): 1.08e-08 +/- 7.34e-09
Energy Flux (Free Index): 2.36e-05 +/- 1.12e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -3.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  3.330e+00 [aplpy.core]
Saving /scratch/kocevski/972169/cmap_HighResolution_618019201_620611201_4FGL_J0433.6+2905_monthly_bin147.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.29e-08', energy_flux2='2.36e-05', photon_flux_error='7.78e-09', dlogl='8.07e-01', energy_flux='1.78e-05', photon_flux2='1.08e-08', job_status='DONE', time_completed='2021-10-13 09:31:09.959256', photon_index_error2='0.33', photon_index2='1.55', ts='25.64', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.12e-05', EG='1.38', time_epoch_completed='1634142669.96', return_code='0', job_id='972169', GAL2='0.96', EG2='1.39', return_code2='0', energy_flux_error='6.03e-06', photon_flux_error2='7.34e-09', ts2='27.26', photon_index='1.98' WHERE bin_id='147' AND source_name='4FGL J0433.6+2905' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Wed Oct 13 09:31:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0120>
Subject: Job 972169: <4FGL_J0433.6+2905_monthly_bin147> in cluster <slac> Done

Job <4FGL_J0433.6+2905_monthly_bin147> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Oct 13 06:40:16 2021
Job was executed on host(s) <bullet0120>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Oct 13 06:40:17 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Oct 13 06:40:17 2021
Terminated at Wed Oct 13 09:31:11 2021
Results reported at Wed Oct 13 09:31:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0433.6+2905_monthly_bin147 68.4107 29.0975 618019201 620611201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0433.6+2905 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   9881.00 sec.
    Max Memory :                                 655 MB
    Average Memory :                             579.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   10254 sec.
    Turnaround time :                            10255 sec.

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

