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


Performing analysis on: 4FGL_J0743.6-3805_daily_bin1232
RA = 115.906, Dec = -38.0937
tmin = 558662401, tmax = 558921601
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='803311', job_status='RUN', time_executed='2021-08-28 08:50:36.511070', time_epoch_executed='1630165836.51' WHERE source_name='4FGL J0743.6-3805' and cadence='daily' and bin_id='1232'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/803311

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/803311/ft1_4FGL_J0743.6-3805_daily_bin1232.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/803311/ft2_4FGL_J0743.6-3805_daily_bin1232.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/803311/ft1_4FGL_J0743.6-3805_daily_bin1232.fits outfile=/scratch/kocevski/803311/ft1_filteredMKT_4FGL_J0743.6-3805_daily_bin1232.fits ra=115.906 dec=-38.0937 rad=12.0 tmin=558662401.0 tmax=558921601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.93
user 3.32
sys 0.53

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/803311/ft2_4FGL_J0743.6-3805_daily_bin1232.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/803311/ft2_4FGL_J0743.6-3805_daily_bin1232.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/803311/ft1_filteredMKT_4FGL_J0743.6-3805_daily_bin1232.fits evtable="EVENTS" outfile="/scratch/kocevski/803311/ft1_filtered_4FGL_J0743.6-3805_daily_bin1232.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.82
user 0.31
sys 0.49

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/803311/ft1_filtered_4FGL_J0743.6-3805_daily_bin1232.fits" evtable="EVENTS" scfile=/scratch/kocevski/803311/ft2_4FGL_J0743.6-3805_daily_bin1232.fits sctable="SC_DATA" outfile=/scratch/kocevski/803311/ltcube_558662401_558921601_4FGL_J0743.6-3805_daily_bin1232.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/803311/ft2_4FGL_J0743.6-3805_daily_bin1232.fits
.....................!
real 12.55
user 11.79
sys 0.69

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/803311/ft1_filtered_4FGL_J0743.6-3805_daily_bin1232.fits evtable="EVENTS" scfile=/scratch/kocevski/803311/ft2_4FGL_J0743.6-3805_daily_bin1232.fits sctable="SC_DATA" expcube=/scratch/kocevski/803311/ltcube_558662401_558921601_4FGL_J0743.6-3805_daily_bin1232.fits outfile=/scratch/kocevski/803311/expmap_558662401_558921601_4FGL_J0743.6-3805_daily_bin1232.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/803311/ltcube_558662401_558921601_4FGL_J0743.6-3805_daily_bin1232.fits
.....................!
real 191.29
user 185.85
sys 5.05

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 Puppis A in ROI with RadialDisk spatial model.
Extended source Vela X in ROI with RadialDisk spatial model.
Extended source Vela Junior in ROI with RadialDisk spatial model.
Added 209 point sources and 3 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 J0743.6-3805 @ 115.906 -38.0937

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/803311/ft1_filtered_4FGL_J0743.6-3805_daily_bin1232.fits scfile=/scratch/kocevski/803311/ft2_4FGL_J0743.6-3805_daily_bin1232.fits outfile=/scratch/kocevski/803311/cmap_558662401_558921601_4FGL_J0743.6-3805_daily_bin1232.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=115.906 yref=-38.0937 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.87
user 0.37
sys 0.47

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/803311/ft1_filtered_4FGL_J0743.6-3805_daily_bin1232.fits scfile=/scratch/kocevski/803311/ft2_4FGL_J0743.6-3805_daily_bin1232.fits outfile=/scratch/kocevski/803311/cmap_HighResolution_558662401_558921601_4FGL_J0743.6-3805_daily_bin1232.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=115.906 yref=-38.0937 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.87
user 0.39
sys 0.47

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/803311/ft1_filtered_4FGL_J0743.6-3805_daily_bin1232.fits evtable="EVENTS" scfile=/scratch/kocevski/803311/ft2_4FGL_J0743.6-3805_daily_bin1232.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/803311/Model_4FGL_J0743.6-3805_daily_bin1232.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 Puppis A
adding source Vela Junior
adding source Vela X
Working on...
/scratch/kocevski/803311/ft1_filtered_4FGL_J0743.6-3805_daily_bin1232.fits.....................!
real 30.63
user 28.85
sys 1.65

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/803311/ft1_filtered_4FGL_J0743.6-3805_daily_bin1232.fits', '/scratch/kocevski/803311/ft2_4FGL_J0743.6-3805_daily_bin1232.fits', expMap='/scratch/kocevski/803311/expmap_558662401_558921601_4FGL_J0743.6-3805_daily_bin1232.fits', expCube='/scratch/kocevski/803311/ltcube_558662401_558921601_4FGL_J0743.6-3805_daily_bin1232.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/803311/Model_4FGL_J0743.6-3805_daily_bin1232.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0743.6-3805'

4FGL J0743.6-3805
   Spectrum: PowerLaw
326    Prefactor:  3.525e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
327        Index:  2.521e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  1.050e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/803311/ft1_filtered_4FGL_J0743.6-3805_daily_bin1232.fits
Spacecraft file(s): /scratch/kocevski/803311/ft2_4FGL_J0743.6-3805_daily_bin1232.fits
Exposure map: /scratch/kocevski/803311/expmap_558662401_558921601_4FGL_J0743.6-3805_daily_bin1232.fits
Exposure cube: /scratch/kocevski/803311/ltcube_558662401_558921601_4FGL_J0743.6-3805_daily_bin1232.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/803311/Model_4FGL_J0743.6-3805_daily_bin1232.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 1264.10715638

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 1263.46550141

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.2784       1.0000         .10000E-03   10000.    
     3 'norm      '    .40986E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .19957       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .20893E-02   1.0000         .10000E-03   10000.    
     6 'norm      '    3.6388       1.0000         .10000E-03   10000.    
     7 'norm      '    3.6847       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.9454       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .82335       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.1260       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10901       1.0000         .10000E-03   10000.    
    12 'norm      '    10.560       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.5460       1.0000         .10000E-03   10000.    
    14 'norm      '    123.32       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .13701E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.2180       1.0000         .10000E-03   10000.    
    17 'norm      '    .24389       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.4021       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .83070       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7160E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   1263.442     FROM MIGRAD    STATUS=CONVERGED    181 CALLS      353 TOTAL
                     EDM=   .68E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    26.333        .90712E-02** at limit **
   2  norm          .10000E-03    440.04        .68006E-02** at limit **
   3  norm          .10000E-03    73.414        .92260E-02** at limit **
   4  Prefactor     .10000E-03    128.25        .99757E-02** at limit **
   5  Prefactor     .10000E-03    169.20        .10095E-01** at limit **
   6  norm          3.6388        1.0098         .0000         .0000    
   7  norm          3.6847        1.0095         .0000         .0000    
   8  Prefactor     6.9454        1.0026         .0000         .0000    
   9  Prefactor     .10000E-03    .39229       -.10932E-05** at limit **
  10  Prefactor     2.1260        1.0307         .0000         .0000    
  11  Prefactor     .10000E-03    .22820        .40448E-05** at limit **
  12  norm          115.67        3.2958        .17713E-04    .12674E-03
  13  Prefactor     6.9385        .90267       -.81040E-06    .31459E-02
  14  norm          125.85        1.0101       -.33265E-06   -.44177E-03
  15  Prefactor     .10000E-03    .20571        .16363E-05** at limit **
  16  Prefactor     7.2180        1.0024         .0000         .0000    
  17  norm          .10000E-03    .25889       -.14971E-05** at limit **
  18  Normalizat    1.4260        1.0692        .85012E-05   -.14006E-05
  19  Prefactor     .82532        1.1749       -.28548E-05   -.42928E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.000100002
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 3.63878
  norm       = 3.68467
  Prefactor  = 6.94536
  Prefactor  = 0.0001
  Prefactor  = 2.12598
  Prefactor  = 0.0001
  norm       = 115.672
  Prefactor  = 6.93849
  norm       = 125.855
  Prefactor  = 0.0001
  Prefactor  = 7.21801
  norm       = 0.0001
  Normalizat = 1.42605
  Prefactor  = 0.825317
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   1263.442     FROM HESSE     STATUS=FAILED        19 CALLS      372 TOTAL
                     EDM=   .68E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    26.333        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    440.04        .68006E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    73.414        .92260E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    128.25        .99757E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    169.20        .10095E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          546.35        542.64         .0000       -1.5326    
   7  norm          3.6847        1.0095         .0000       -1.5324    
   8  Prefactor     6.9454        1.0026         .0000       -1.5181    
   9  Prefactor     .10000E-03    .39229       -.10932E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.1260        1.0307         .0000       -1.5416    
  11  Prefactor     .10000E-03    .22820        .40448E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          115.67        3.2958        .17713E-04   -1.3553    
  13  Prefactor     6.9385        .90267       -.81040E-06   -1.5181    
  14  norm          125.85        1.0101       -.33265E-06   -1.3460    
  15  Prefactor     .10000E-03    .20571        .16363E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.2180        1.0024         .0000       -1.5171    
  17  norm          .10000E-03    .25889       -.14971E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.4260        1.0692        .85012E-05   -.79878    
  19  Prefactor     .82532        1.1749       -.28548E-05   -.98802    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.80974e-11
Minuit parameter uncertainties:
  1  5.74558e-07
  2  0.00167243
  3  4.57559e-06
  4  4.59139e-05
  5  0.00120628
  6  1.00977
  7  1.00952
  8  1.00261
  9  1.3219e-05
  10  1.03074
  11  1.60197e-06
  12  3.29585
  13  0.902675
  14  1.01011
  15  8.62686e-08
  16  1.00242
  17  2.41521e-07
  18  1.08675
  19  1.21394
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 1263.4418823

Extracting fit parameters...

4FGL J0743.6-3805
   Spectrum: PowerLaw
326    Prefactor:  1.000e-04  1.322e-05  1.000e-04  1.000e+04 ( 1.000e-13)
327        Index:  2.521e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  1.050e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
703    Prefactor:  8.253e-01  1.214e+00  0.000e+00  1.000e+01 ( 1.000e+00)
704        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
705        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
702   Normalization:  1.426e+00  1.087e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 115.906 -38.094
Photon Flux Upper Limit: 2.77e-06 ph cm-2 s-1
Energy Flux Upper Limit: 2.15e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/803311/likelihoodResults_558662401_558921601_4FGL_J0743.6-3805_daily_bin1232.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) = 1263.4418907
delta logL = -8.40270104163e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1263.44188247
delta logL = -1.73414719029e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15658E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.3812       1.0000          .0000       10.000    
     3 'Normalizat'    1.4260       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82532       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7160E+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=   1263.442     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      282 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10818E-03    99.205        .18142E-01** at limit **
   2  Index         3.1539        5.9892        .50000        .60151E-06
   3  Normalizat    1.4260        .16495E-01    .70773E-03   -.84334E-05
   4  Prefactor     .82532        .24284E-02    .13110E-03   -.83035E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000108175
  Index      = 3.15394
  Normalizat = 1.42605
  Prefactor  = 0.825317
 **********
 **   18 **HESSE 
 **********

 FCN=   1263.442     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      311 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10818E-03    6278.3        .36285E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.1539        7.2401        .50000       -.37816    
   3  Normalizat    1.4260        .87951E-01    .28309E-04   -.79878    
   4  Prefactor     .82532        .12949E-01    .52438E-05   -.98802    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.17368e-08
Minuit parameter uncertainties:
  1  0.303162
  2  4316.71
  3  0.0879606
  4  0.0129492
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/803311': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1263.44188236
delta logL = -5.92408468947e-08

Extracting fit parameters...

4FGL J0743.6-3805
   Spectrum: PowerLaw
326    Prefactor:  1.082e-04  3.032e-01  1.000e-04  1.000e+04 ( 1.000e-13)
327        Index:  3.154e+00  4.317e+03  0.000e+00  1.000e+01 (-1.000e+00)
328        Scale:  1.050e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
703    Prefactor:  8.253e-01  1.295e-02  0.000e+00  1.000e+01 ( 1.000e+00)
704        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
705        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
702   Normalization:  1.426e+00  8.796e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 115.906 -38.094

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/803311/cmap_HighResolution_558662401_558921601_4FGL_J0743.6-3805_daily_bin1232.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.15e-01', job_status='DONE', photon_flux_upper_limit='2.77e-06', time_completed='2021-08-28 08:56:47.414206', job_id='803311', GAL2='0.83', fit_tolerance='1e-08', EG2='1.43', EG='1.43', time_epoch_completed='1630166207.41', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.83', dlogl='-5.92e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='1232' AND source_name='4FGL J0743.6-3805' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 08:56:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 803311: <4FGL_J0743.6-3805_daily_bin1232> in cluster <slac> Done

Job <4FGL_J0743.6-3805_daily_bin1232> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 28 08:50:17 2021
Job was executed on host(s) <bullet0260>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 08:50:19 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 08:50:19 2021
Terminated at Sat Aug 28 08:56:48 2021
Results reported at Sat Aug 28 08:56:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0743.6-3805_daily_bin1232 115.906 -38.0937 558662401 558921601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0743.6-3805 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   368.18 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             503.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   388 sec.
    Turnaround time :                            391 sec.

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

