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


Performing analysis on: 4FGL_J1442.2+0622_daily_bin645
RA = 220.561, Dec = 6.3755
tmin = 406512001, tmax = 406771201
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='713957', job_status='RUN', time_executed='2021-09-10 05:49:13.330081', time_epoch_executed='1631278153.33' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='645'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/713957

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/713957/ft1_4FGL_J1442.2+0622_daily_bin645.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/713957/ft2_4FGL_J1442.2+0622_daily_bin645.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/713957/ft1_4FGL_J1442.2+0622_daily_bin645.fits outfile=/scratch/kocevski/713957/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin645.fits ra=220.561 dec=6.3755 rad=12.0 tmin=406512001.0 tmax=406771201.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.54
user 3.31
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/713957/ft2_4FGL_J1442.2+0622_daily_bin645.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/713957/ft2_4FGL_J1442.2+0622_daily_bin645.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/713957/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin645.fits evtable="EVENTS" outfile="/scratch/kocevski/713957/ft1_filtered_4FGL_J1442.2+0622_daily_bin645.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.49
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/713957/ft1_filtered_4FGL_J1442.2+0622_daily_bin645.fits" evtable="EVENTS" scfile=/scratch/kocevski/713957/ft2_4FGL_J1442.2+0622_daily_bin645.fits sctable="SC_DATA" outfile=/scratch/kocevski/713957/ltcube_406512001_406771201_4FGL_J1442.2+0622_daily_bin645.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/713957/ft2_4FGL_J1442.2+0622_daily_bin645.fits
.....................!
real 11.87
user 11.55
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/713957/ft1_filtered_4FGL_J1442.2+0622_daily_bin645.fits evtable="EVENTS" scfile=/scratch/kocevski/713957/ft2_4FGL_J1442.2+0622_daily_bin645.fits sctable="SC_DATA" expcube=/scratch/kocevski/713957/ltcube_406512001_406771201_4FGL_J1442.2+0622_daily_bin645.fits outfile=/scratch/kocevski/713957/expmap_406512001_406771201_4FGL_J1442.2+0622_daily_bin645.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/713957/ltcube_406512001_406771201_4FGL_J1442.2+0622_daily_bin645.fits
.....................!
real 191.15
user 185.72
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
Added 151 point sources and 0 extended sources

Setting source of interest to:
4FGL J1442.2+0622 @ 220.561 6.3755

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/713957/ft1_filtered_4FGL_J1442.2+0622_daily_bin645.fits scfile=/scratch/kocevski/713957/ft2_4FGL_J1442.2+0622_daily_bin645.fits outfile=/scratch/kocevski/713957/cmap_406512001_406771201_4FGL_J1442.2+0622_daily_bin645.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=220.561 yref=6.3755 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/713957/ft1_filtered_4FGL_J1442.2+0622_daily_bin645.fits scfile=/scratch/kocevski/713957/ft2_4FGL_J1442.2+0622_daily_bin645.fits outfile=/scratch/kocevski/713957/cmap_HighResolution_406512001_406771201_4FGL_J1442.2+0622_daily_bin645.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=220.561 yref=6.3755 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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/713957/ft1_filtered_4FGL_J1442.2+0622_daily_bin645.fits evtable="EVENTS" scfile=/scratch/kocevski/713957/ft2_4FGL_J1442.2+0622_daily_bin645.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/713957/Model_4FGL_J1442.2+0622_daily_bin645.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/713957/ft1_filtered_4FGL_J1442.2+0622_daily_bin645.fits.....................!
real 52.14
user 50.79
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/713957/ft1_filtered_4FGL_J1442.2+0622_daily_bin645.fits', '/scratch/kocevski/713957/ft2_4FGL_J1442.2+0622_daily_bin645.fits', expMap='/scratch/kocevski/713957/expmap_406512001_406771201_4FGL_J1442.2+0622_daily_bin645.fits', expCube='/scratch/kocevski/713957/ltcube_406512001_406771201_4FGL_J1442.2+0622_daily_bin645.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/713957/Model_4FGL_J1442.2+0622_daily_bin645.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1442.2+0622'

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  3.653e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.698e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
231         beta:  3.190e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/713957/ft1_filtered_4FGL_J1442.2+0622_daily_bin645.fits
Spacecraft file(s): /scratch/kocevski/713957/ft2_4FGL_J1442.2+0622_daily_bin645.fits
Exposure map: /scratch/kocevski/713957/expmap_406512001_406771201_4FGL_J1442.2+0622_daily_bin645.fits
Exposure cube: /scratch/kocevski/713957/ltcube_406512001_406771201_4FGL_J1442.2+0622_daily_bin645.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/713957/Model_4FGL_J1442.2+0622_daily_bin645.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) = 6722.29700988

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    21.003       1.0000         .10000E-03   10000.    
     5 'Prefactor '    28.877       1.0000         .10000E-03   10000.    
     6 'norm      '    17.075       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .91293       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10725E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    25.119       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10349E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    35.574       1.0000         .10000E-03   10000.    
    17 'norm      '    .46861       1.0000         .10000E-03   10000.    
    18 'norm      '    .58096       1.0000         .10000E-03   10000.    
    19 'norm      '    .10302E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    2.7179       1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.2790       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .94045       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1219       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6722.271     FROM MIGRAD    STATUS=CONVERGED    520 CALLS     2584 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.282        .15602E-06** at limit **
   2  Prefactor     .10000E-03    9.5837        .15032E-06** at limit **
   3  Prefactor     .10000E-03    33.156       -.14688E-05** at limit **
   4  norm          21.003        13.888        .35915E-07   -.19205E-05
   5  Prefactor     28.876        34.354        .16430E-06   -.19574E-04
   6  norm          17.076        16.704        .10713E-07   -.31850E-05
   7  Prefactor     .10000E-03    1.7896       -.68817E-07** at limit **
   8  Prefactor     .91240        7.0511        .33347E-05   -.16480E-03
   9  Prefactor     .10000E-03    32.042       -.91342E-06** at limit **
  10  Prefactor     .10000E-03    22.448        .17270E-05** at limit **
  11  norm          25.122        19.522        .30790E-06   -.63297E-04
  12  Prefactor     .10000E-03    47.237        .20578E-05** at limit **
  13  Prefactor     .10000E-03    10.388       -.28927E-06** at limit **
  14  Prefactor     .10000E-03    8.2135        .49958E-07** at limit **
  15  Prefactor     .10000E-03    18.268       -.89865E-06** at limit **
  16  Prefactor     35.579        41.808        .19741E-06    .67154E-05
  17  norm          .46856        .20347        .12285E-07   -.36250E-03
  18  norm          .58156        1.3874        .46610E-06    .40256E-03
  19  norm          .10000E-03    11.539        .46082E-06** at limit **
  20  norm          2.7181        2.4703       -.22549E-07   -.23874E-04
  21  Prefactor     4.2039        54.215       -.24877E-05   -.38112E-04
  22  Normalizat    .94023        .22134       -.10377E-05   -.88076E-04
  23  Prefactor     1.1220        .13113        .73650E-07   -.17277E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 21.0027
  Prefactor  = 28.8755
  norm       = 17.0759
  Prefactor  = 0.0001
  Prefactor  = 0.912397
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 25.1217
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 35.5789
  norm       = 0.468559
  norm       = 0.581556
  norm       = 0.0001
  norm       = 2.71807
  Prefactor  = 4.20388
  Normalizat = 0.940234
  Prefactor  = 1.12203
 **********
 **   18 **HESSE 
 **********

 FCN=   6722.271     FROM HESSE     STATUS=OK           370 CALLS     2954 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.5967        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    33.759        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          21.003        13.890        .87397E-04   -1.4791    
   5  Prefactor     28.876        34.623        .74555E-04   -1.4633    
   6  norm          17.076        16.703        .96926E-04   -1.4881    
   7  Prefactor     .10000E-03    1.7922        .10715E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .91240        7.0710        .41225E-03   -1.5517    
   9  Prefactor     .10000E-03    32.172        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    22.914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          25.122        19.509        .79927E-04   -1.4705    
  12  Prefactor     .10000E-03    48.053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.415        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.2325        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    18.444        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     35.579        41.818        .67191E-04   -1.4514    
  17  norm          .46856        .20199        .23183E-04   -1.5571    
  18  norm          .58156        1.2509        .14884E-02   -1.5555    
  19  norm          .10000E-03    12.084        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.7181        2.4687        .11937E-03   -1.5378    
  21  Prefactor     4.2039        55.813        .19477E-03   -1.5298    
  22  Normalizat    .94023        .25648        .33485E-03   -.95060    
  23  Prefactor     1.1220        .15285        .18976E-03   -.88766    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.74959e-10
Minuit parameter uncertainties:
  1  1.65175e-05
  2  1.23049e-05
  3  0.000173701
  4  13.8917
  5  34.6473
  6  16.7074
  7  3.81242e-06
  8  5.08054
  9  0.00012628
  10  0.000207544
  11  19.5142
  12  0.000254434
  13  2.29188e-05
  14  1.60014e-06
  15  0.000109252
  16  41.852
  17  0.201994
  18  1.25091
  19  1.37789e-05
  20  2.46875
  21  30.6699
  22  0.256815
  23  0.152913
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  2.512e+01  1.951e+01  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.698e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
231         beta:  3.190e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  1.122e+00  1.529e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  9.402e-01  2.568e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.12
Ra Dec: 220.561 6.375
Photon Index (Fixed Index): 2.70 +/- 0.00
Photon Flux (Fixed Index): 4.17e-08 +/- 3.24e-08
Energy Flux (Fixed Index): 1.51e-05 +/- 1.17e-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) = 6721.78194957
delta logL = 0.489196849579

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6721.68791821
delta logL = 0.583228208807

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    37.638       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7061       1.0000          .0000       5.0000    
     3 'Normalizat'    .96742       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1139       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+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=   6721.688     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      241 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          37.606        31.548        .32664E-03   -.10407E-04
   2  alpha         1.7050        .86438        .25818E-01   -.79383E-05
   3  Normalizat    .96765        .24417        .33062E-03    .13686E-04
   4  Prefactor     1.1138        .15095        .19037E-03   -.25586E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 37.6065
  alpha      = 1.70501
  Normalizat = 0.967646
  Prefactor  = 1.11383
 **********
 **   18 **HESSE 
 **********

 FCN=   6721.688     FROM HESSE     STATUS=OK            25 CALLS      266 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          37.606        31.711        .13066E-04   -1.4481    
   2  alpha         1.7050        .86872        .51636E-02   -.32362    
   3  Normalizat    .96765        .24434        .13225E-04   -.94122    
   4  Prefactor     1.1138        .15108        .38073E-04   -.89026    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75807e-10
Minuit parameter uncertainties:
  1  31.7251
  2  0.889443
  3  0.244626
  4  0.151137
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/713957': 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) = 6721.68791669
delta logL = 0.583229728551

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  3.761e+01  3.173e+01  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  1.705e+00  8.894e-01  0.000e+00  5.000e+00 ( 1.000e+00)
231         beta:  3.190e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  1.114e+00  1.511e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  9.676e-01  2.446e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.30
Ra Dec: 220.561 6.375
Photon Index (Free Index): 1.71 +/- 0.89
Photon Flux (Free Index): 1.85e-08 +/- 2.21e-08
Energy Flux (Free Index): 1.88e-05 +/- 1.65e-05

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/713957/cmap_HighResolution_406512001_406771201_4FGL_J1442.2+0622_daily_bin645.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.17e-08', energy_flux2='1.88e-05', photon_flux_error='3.24e-08', dlogl='5.83e-01', energy_flux='1.51e-05', photon_flux2='1.85e-08', job_status='DONE', time_completed='2021-09-10 05:58:28.231463', photon_index_error2='0.89', photon_index2='1.71', ts='4.12', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='1.65e-05', EG='0.94', time_epoch_completed='1631278708.23', return_code='0', job_id='713957', GAL2='1.11', EG2='0.97', return_code2='0', energy_flux_error='1.17e-05', photon_flux_error2='2.21e-08', ts2='5.30', photon_index='2.70' WHERE bin_id='645' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:58:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 713957: <4FGL_J1442.2+0622_daily_bin645> in cluster <slac> Done

Job <4FGL_J1442.2+0622_daily_bin645> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 10 05:46:22 2021
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 05:46:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 05:46:24 2021
Terminated at Fri Sep 10 05:58:28 2021
Results reported at Fri Sep 10 05:58:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin645 220.561 6.3755 406512001 406771201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1442.2+0622 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   553.16 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             277.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   724 sec.
    Turnaround time :                            726 sec.

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

